<?php

/**
 * BlogComment form.
 *
 * @package    probolnici
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BlogCommentForm extends BaseBlogCommentForm
{
  public function configure()
  {
   
    $this->useFields(array('text'));
    $this->widgetSchema['text'] = new sfWidgetFormTextarea();

    $this->validatorSchema['text'] = new sfValidatorAnd(array(
      $this->validatorSchema['text'],
      new sfValidatorString(array('min_length'=>2))
    ));

  }
}
